//提示信息
var intervalCounter = 0;   
function hideToast()
{     
	var alert_str = document.getElementById("intoast");   
	alert_str.style.opacity = 0;   
	clearInterval(intervalCounter);   
}   
function drawToast(message)
{   
	var alert_str = document.getElementById("intoast");   
	if (alert_str == null)
	{   
		var toastHTML = '<div id="toast"><span id="intoast">' + message + '</span></div>';   
		document.body.insertAdjacentHTML('beforeEnd', toastHTML); 
	}   
	else
	{   
		$('#intoast').text(message);
		alert_str.style.opacity = 0.7;  
	}   
	intervalCounter = setInterval("hideToast()", 2000);   
}   
function save(msg)
{   
	drawToast(msg);   
}